//
//  BZCureModel.m
//  QuickCure
//
//  Created by brice Mac on 16/9/15.
//  Copyright © 2016年 haoge. All rights reserved.
//

#import "BZCureModel.h"
#import "NetWorkTool.h"


@implementation BZCureModel



- (instancetype)initWithDict:(NSDictionary *)dict{
    
    //完成初始化
    self = [super init];
    
    //判断对象是否存在
    if (self) {
        
        //使用KVC的方式设置数据
        [self setValuesForKeysWithDictionary:dict];
    }
    
    //返回当前对象
    return self;
    
}


+ (instancetype)modelWithDict:(NSDictionary *)dict{
    
    //调用上方的方法完成初始化
    return [[self alloc]initWithDict:dict];
}




@end
